<form method="post" action="${rc.getContextPath()}/manage/workflowBusiness/saveRoleBusinessType" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
	<div class="pageContent">
		<div class="pageFormContent">
			<input type="hidden" name="navTabId" value=""> <input type="hidden" name="roleCode" value="${roleCode!''}" />
			<input type="hidden" name="id" value="${role!''}"/>
			<div class="tabsContent">
				<fieldset>
					<div class="tabs" currentIndex="0" eventType="click" style="width: 615px">
						<div style="height: 320px">
							<table class="table border" width="100%">
								<thead>
									<tr>
										<th width="100"><@label key="businessType.C">业务类型描述</@label></th>
										<th width="100"><input name="createFlag" type="checkbox" group="createFlags" class="checkboxCtrl" /> <@label key="createFlag.C">创建权限</@label></th>
										<th width="100"><input name="queryFlag" type="checkbox" group="queryFlags" class="checkboxCtrl" /> <@label key="queryFlag.C">查询权限</@label></th>
									</tr>
								</thead>
								<tbody>
									<#if roleBusinessTypes??><#if (roleBusinessTypes?size>0)> <#list roleBusinessTypes as businessType>
									<tr id="${businessType.businessType!''}" target="roleBusinessTypes" rel="${businessType.businessType!''}">
										<td width="100">${businessType.businessTypeText!''} <input type="hidden" name="roleBusinessTypes[${businessType_index}].businessType" id="${businessType.roleCode!''}" value="${businessType.businessType!''}">
										</td>
										<td width="20"><input groups="createFlags" type="checkbox" name="roleBusinessTypes[${businessType_index}].createFlag" class="checkboxCtrl" value="1"<#if (businessType.createFlag)?? && (businessType.createFlag == 1)> checked="true"</#if>></td>
										<td width="20"><input groups="queryFlags" type="checkbox" name="roleBusinessTypes[${businessType_index}].queryFlag" class="checkboxCtrl" value="1"<#if (businessType.queryFlag)?? && (businessType.queryFlag == 1)> checked="true"</#if>></td>
									</tr>
									</#list> </#if> </#if>
								</tbody>
							</table>
						</div>
					</div>
				</fieldset>
			</div>
		</div>
		<div class="formBar">
			<ul>

				<li>
					<div class="buttonActive">
						<div class="buttonContent">
							<button type="submit"><@label key="save.B">保存</@label></button>
						</div>
					</div>
				</li>
				<li>
					<div class="buttonActiveGrey">
						<div class="buttonContent">
							<button type="button" class="close"><@label key="cancel.B">取消</@label></button>
						</div>
					</div>
				</li>
			</ul>
		</div>
</form>


